using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Kirishima16.Applications.FTPPictureUploader
{
	public partial class DescriptionEditorForm : Form
	{
		public string Description
		{
			get { return txtDescription.Text; }
		}

		public DescriptionEditorForm()
		{
			InitializeComponent();
		}

		private new DialogResult ShowDialog() { throw new Exception(); }
		private new DialogResult ShowDialog(IWin32Window owner) { throw new Exception(); }

		public DialogResult ShowDialog(string desc)
		{
			txtDescription.Text = desc;
			return base.ShowDialog();
		}

		private void btnOkey_Click(object sender, EventArgs e)
		{
			Close();
		}

		private void btnCancel_Click(object sender, EventArgs e)
		{
			Close();
		}
	}
}